<template>
  <div>
      
      <div v-html="context">
    
      </div>
     
  </div>
</template>

<script>
export default {
  data(){
    return{
    context :''
    }
  },
  methods:{
      paySubmit(){
          this.$axios.get('http://localhost:13443/api/Goods/AliPayShow').then(res=>{
              this.context = res.data;
               setTimeout(()=>{
            document.forms[0].submit();
          })
          })
      }
  },
  created(){
      this.paySubmit();
  }
}
</script>

<style>

</style>